package com.longxiao.mapper;

import org.apache.ibatis.annotations.Param;

import com.longxiao.entity.TeacherComment;

public interface TeacherCommentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TeacherComment record);

    int insertSelective(TeacherComment record);

    TeacherComment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TeacherComment record);

    int updateByPrimaryKey(TeacherComment record);
    /**
     * 查询学生评价老师信息
     * @param stuId
     * @param tchId
     * @param classId
     * @return
     */
    TeacherComment selectTeacherCommentByStu(@Param("stuId")String stuId,@Param("tchId")String tchId,@Param("classId")Integer classId);
}